const env = process.env.NODE_ENV || 'production'


const EnvConfig = {
    // 开发环境
    development : {
        baseApi: '/dev-api',
        mockApi: 'https://www.fastmock.site/mock/c1c302e8baed9894c48c17e4738c092e/api'
    },
    // 生产环境
    production : {
        baseApi: '/pro-api',
        mockApi: ''
    },
    // 测试环境
    developoment : {
        baseApi: '/test-api',
        mockApi: ''
    },
}

export default {
    env,
    mock: true,
    namespace: 'manager',
    ...EnvConfig['development']
}